package com.itheima.health.dao;

import com.itheima.health.pojo.Setmeal;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository // 加和不加没有影响
public interface SetmealDao {

    void add(Setmeal setmeal);

    void addSetMealAndCheckGroup(Map<String, Object> map);

    List<Setmeal> findPage(String queryString);

    List<Setmeal> findAll();

    Setmeal findById(Integer id);

    List<Map<String,Object>> findSetmealCountByOrder();
}
